home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gCDtrackplaying, gCD, gHowManyTracksOnAlbum
- if gCD <> VOID then
- if CurrentTrack(gCD) <> gCDtrackplaying then
- if CurrentTrack(gCD) < gHowManyTracksOnAlbum then
- set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "w"
- set gCDtrackplaying to CurrentTrack(gCD)
- set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "r"
- if gCDtrackplaying > 0 then
- set the member of sprite 1 to "audiobg" & string(gCDtrackplaying)
- end if
- end if
- end if
- end if
- go(the frame)
- end
-